-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
41 lines (37 loc) · 924 Bytes
/
docker-compose.prod.yml
File metadata and controls
41 lines (37 loc) · 924 Bytes
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
version: "3.8"
services:
server:
image: prodekoregistry.azurecr.io/ilmo/ilmo-server
container_name: ilmo_server
restart: unless-stopped
# When starting the server for the first time change the
# entrypoint to 'yarn db migrate' manually. TODO: Figure out a better
# way to run migrations on initial deployment.
entrypoint: yarn server start
env_file:
- .env.production
depends_on:
- redis
worker:
image: prodekoregistry.azurecr.io/ilmo/ilmo-worker
container_name: ilmo_worker
restart: unless-stopped
entrypoint: yarn worker start
env_file:
- .env.production
depends_on:
- redis
- server
redis:
image: redis:6-alpine
container_name: ilmo_redis
restart: unless-stopped
volumes:
- ilmo-redis:/data
networks:
default:
external:
name: prodeko-docker-net
volumes:
ilmo-redis:
external: true