PG
Size: a a a
PG
ВГ
D
D
A
D
A
V
# docker-compose.yml
version: '3'
services:
nginx:
image: nginx:alpine
container_name: nginx
volumes:
- static:/usr/share/nginx/html:ro
- ./nginx.conf.conf:/etc/nginx/templates/nginx.conf.conf
env_file: '.env'
depends_on:
- api
ports:
- 80:80
networks:
- monorepo_net
api:
image: diagoby/store-api
container_name: store-api
env_file: '.env'
ports:
- ${PORT}:3333
restart: on-failure
networks:
- monorepo_net
store:
image: temp
container_name: store
stdin_open: true
volumes:
- static:/dist
depends_on:
- nginx
restart: on-failure
networks:
- monorepo_net
volumes:
static:
networks:
monorepo_net:
driver: bridge
a
VM
AP
AT
NK
GG
NK
GG
NK