Add compose.yaml
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: ghcr.io/hargata/lubelogger:latest
|
||||||
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- bragi-local
|
||||||
|
volumes:
|
||||||
|
- /opt/06_maintanance/data:/App/data
|
||||||
|
- /opt/06_maintanance/keys:/root/.aspnet/DataProtection-Keys
|
||||||
|
# ports:
|
||||||
|
# - 8082:8080
|
||||||
|
postgres:
|
||||||
|
image: postgres:14
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- bragi-local
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: lubelogger
|
||||||
|
POSTGRES_PASSWORD: lubepass
|
||||||
|
POSTGRES_DB: lubelogger
|
||||||
|
volumes:
|
||||||
|
- /opt/06_maintanance/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
|
- /opt/06_maintanance/postgres:/var/lib/postgresql/data
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
volumes:
|
||||||
|
data: null
|
||||||
|
keys: null
|
||||||
|
postgres: null
|
||||||
|
networks:
|
||||||
|
bragi-local:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user