docker-compose.yml: update env var

main
leonnicolas 4 years ago
parent 240b7a8e8b
commit ab41ccdf54
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -16,8 +16,10 @@ services:
- "8080:8080" - "8080:8080"
links: links:
- "db:database" - "db:database"
mem_limit: 2000000000
restart: unless-stopped
environment: environment:
- POSTGRES_CONNECTION_URL=postgres://fuser_management:passwordofuserserver@database/user_management - DATABASE_URL=postgres://fuser_management:passwordofuserserver@database/user_management
- RUST_LOG=trace - RUST_LOG=trace
- HTTP_SERVER_ADDRESS=0.0.0.0:8080 - HTTP_SERVER_ADDRESS=0.0.0.0:8080
- RPC_SERVER_ADDRESS=0.0.0.0:5000 - RPC_SERVER_ADDRESS=0.0.0.0:5000
@ -29,6 +31,8 @@ services:
links: links:
- "db:database" - "db:database"
- "user-management:um" - "user-management:um"
mem_limit: 1000000000
restart: unless-stopped
environment: environment:
- RPC_HOST=um:5000 - RPC_HOST=um:5000
- POSTGRES_CONNECTION_URL=postgres://fapi:passwordofapiserver@database/flotte_api - POSTGRES_CONNECTION_URL=postgres://fapi:passwordofapiserver@database/flotte_api
@ -37,13 +41,16 @@ services:
image: flotte-docker-registry.spdns.org/frontend-server image: flotte-docker-registry.spdns.org/frontend-server
ports: ports:
- "8081:8080" - "8081:8080"
mem_limit: 100000000
restart: unless-stopped
proxy: proxy:
image: staticfloat/nginx-certbot:v1.1 image: staticfloat/nginx-certbot:v1.1
links: links:
- "frontend:frontend" - "frontend:frontend"
- "api-server:api-server" - "api-server:api-server"
- "user-management:user-management" - "user-management:user-management"
restart: always mem_limit: 1000000000
restart: unless-stopped
environment: environment:
CERTBOT_EMAIL: "youremail@example.de" CERTBOT_EMAIL: "youremail@example.de"
ports: ports:

Loading…
Cancel
Save