fix Dockerfile and compose.yaml
This commit is contained in:
11
compose.yaml
11
compose.yaml
@@ -11,14 +11,13 @@ services:
|
||||
networks:
|
||||
- 'warren-net'
|
||||
environment:
|
||||
- 'BIND_ADDRESS=0.0.0.0:8080'
|
||||
- 'POSTGRES_HOST=warren-postgres'
|
||||
- 'POSTGRES_PORT=5432'
|
||||
- 'POSTGRES_USER=postgres'
|
||||
- 'POSTGRES_PASSWORD=pg'
|
||||
- 'POSTGRES_DATABASE=warren'
|
||||
- 'SERVER_ADDRESS=0.0.0.0'
|
||||
- 'SERVER_PORT=8080'
|
||||
- 'DATABASE_URL=postgres://postgres:pg@warren-postgres:5432'
|
||||
- 'DATABASE_NAME=warren'
|
||||
- 'SERVE_DIRECTORY=/serve'
|
||||
- 'CORS_ALLOW_ORIGIN=http://localhost:3000'
|
||||
- 'LOG_LEVEL=debug'
|
||||
volumes:
|
||||
- './backend/serve:/serve:rw'
|
||||
postgres:
|
||||
|
||||
Reference in New Issue
Block a user