forked from MemeLabs/overrustlelogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
46 lines (46 loc) · 1.07 KB
/
docker-compose.yaml
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
version: "3"
services:
server:
build: ./server
container_name: orl-server
user: "${USER_UID}"
restart: unless-stopped
env_file:
- .env
volumes:
- ${LOGS_PATH}:/logs:ro
logger:
build: ./logger
container_name: orl-logger
user: "${USER_UID}"
restart: unless-stopped
env_file:
- .env
volumes:
- ${VAR_ORL}:/logger
- ${LOGS_PATH}:/logs
frontend:
image: nginx:latest
container_name: orl-web-static
restart: unless-stopped
volumes:
- ./package/etc/nginx/sites-enabled/overrustlelogs.net.conf:/etc/nginx/conf.d/nginx.conf:ro
- ./server/assets:/var/overrustlelogs/public/assets/:ro
cache:
image: varnish:latest
container_name: orl-web-cache
restart: unless-stopped
ports:
- "${PORT}:80"
volumes:
- ./package/etc/varnish/default.vcl:/etc/varnish/default.vcl:ro
bot:
build: ./bot
container_name: orl-bot
user: "${USER_UID}"
restart: unless-stopped
env_file:
- .env
volumes:
- ${VAR_ORL}:/bot
- ${LOGS_PATH}:/logs:ro