diff --git a/docker-compose-deploy.yml b/docker-compose-deploy.yml index a63c2f9..c3a8550 100644 --- a/docker-compose-deploy.yml +++ b/docker-compose-deploy.yml @@ -2,7 +2,6 @@ version: "3.9" services: app: - container_name: app build: context: . restart: always @@ -18,11 +17,8 @@ services: depends_on: db: condition: service_healthy - networks: - - main db: - container_name: db image: postgres:13-alpine restart: always volumes: @@ -36,21 +32,8 @@ services: interval: 5s timeout: 5s retries: 5 - networks: - - main - - prometheus: - container_name: prometheus - image: prom/prometheus:latest - volumes: - - ./prometheus:/etc/prometheus - ports: - - "9090:9090" - networks: - - main proxy: - container_name: proxy build: context: ./proxy restart: always @@ -60,11 +43,6 @@ services: - 80:8000 volumes: - static-data:/vol/static - networks: - - main - -networks: - main: volumes: postgres-data: diff --git a/proxy/default.conf.tpl b/proxy/default.conf.tpl index 47b6583..8c4ad75 100644 --- a/proxy/default.conf.tpl +++ b/proxy/default.conf.tpl @@ -1,5 +1,5 @@ server { - listen ${LISTEN_PORT}; + listen ${LISTEN_PORT}; location /static { alias /vol/static;