-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
32 lines (32 loc) · 950 Bytes
/
docker-compose.prod.yml
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
version: "3.9"
services:
redis:
container_name: "hazadus-redis"
image: dockerhub.timeweb.cloud/library/redis:7.2.4
volumes:
- ./docker/redis:/data
node:
container_name: "hazadus-node"
build: .
command: node .output/server/index.mjs
env_file:
- .env
environment:
- "NITRO_HOST=0.0.0.0"
- "NITRO_PORT=3000"
- "USE_REDIS=True"
nginx:
container_name: "hazadus-nginx"
image: dockerhub.timeweb.cloud/library/nginx:1.23-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./docker/nginx/logs:/var/log/nginx
- ./docker/nginx/hazadus.ru.conf:/etc/nginx/conf.d/hazadus.ru.conf
- ./docker/nginx/amgold.ru.conf:/etc/nginx/conf.d/amgold.ru.conf
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
- /etc/letsencrypt/archive/hazadus.ru/:/hazadus_ru_certs
- /etc/letsencrypt/archive/amgold.ru/:/amgold_ru_certs
depends_on:
- node