-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.deploy.yml
More file actions
49 lines (39 loc) · 1.2 KB
/
docker-compose.deploy.yml
File metadata and controls
49 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
x-common-env-config: &env-config
env_file:
- ./.default.env
- path: ./.override.env
required: false
services:
products:
<<: *env-config
image: sercudo/frontend-products-image-prod:${STAGING_NAME:-latest}
hostname: ${STAGING_NAME:-products}
networks:
- proxy_network
- default_products_deployment_network
products-frontend-next:
<<: *env-config
image: sercudo/frontend-next-products-image-prod:${STAGING_NAME:-latest}
networks:
- default_products_deployment_network
environment:
- NEXT_PUBLIC_BASE_URL=${FRONTEND_PRODUCTION_URL}
- NODE_ENV=production
products-api:
<<: *env-config
image: sercudo/api-products-image-prod:${STAGING_NAME:-latest}
environment:
- ASPNETCORE_ENVIRONMENT=Production
restart: unless-stopped
networks:
- default_products_deployment_network
products-postgres:
<<: *env-config
image: sercudo/postgres-products-image-prod:${STAGING_NAME:-latest}
networks:
- default_products_deployment_network
networks:
default_products_deployment_network:
name: ${STAGING_NAME:-products_deployment_network}
proxy_network:
external: true