diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..670fe8d --- /dev/null +++ b/compose.yaml @@ -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 \ No newline at end of file