refactor(server): use proxy mechanisms to remove server_url config

This commit is contained in:
Amruth Pillai
2022-03-08 10:36:04 +01:00
parent e52edaa552
commit 5a2594eb88
18 changed files with 76 additions and 82 deletions

View File

@ -11,29 +11,29 @@ services:
- ./scripts/database/initialize.sql:/docker-entrypoint-initdb.d/initialize.sql
- pgdata:/var/lib/postgresql/data
server:
build:
context: .
dockerfile: server/Dockerfile
container_name: server
env_file: .env
environment:
- POSTGRES_HOST=postgres
ports:
- 3100:3100
depends_on:
- postgres
# server:
# build:
# context: .
# dockerfile: server/Dockerfile
# container_name: server
# env_file: .env
# environment:
# - POSTGRES_HOST=postgres
# ports:
# - 3100:3100
# depends_on:
# - postgres
client:
build:
context: .
dockerfile: client/Dockerfile
container_name: client
env_file: .env
ports:
- 3000:3000
depends_on:
- server
# client:
# build:
# context: .
# dockerfile: client/Dockerfile
# container_name: client
# env_file: .env
# ports:
# - 3000:3000
# depends_on:
# - server
volumes:
pgdata: