-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
executable file
·66 lines (61 loc) · 1.92 KB
/
docker-compose.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
volumes:
asklvkaszus_mariadb_data:
asklvkaszus_config_data:
networks:
asklvkaszus-network:
driver: bridge
services:
asklvkaszus-mariadb:
image: mariadb:latest
container_name: asklvkaszus-mariadb
networks:
- asklvkaszus-network
environment:
MYSQL_USER: asklvkaszus
MYSQL_PASSWORD: ChangeMePlease # Update that with strong MySQL user password!
MYSQL_ROOT_PASSWORD: ChangeMePlease # Update that with strong MySQL root password!
MYSQL_DATABASE: asklvkaszus
volumes:
- asklvkaszus_mariadb_data:/var/lib/mysql
restart: unless-stopped
asklvkaszus-redis:
image: redis:latest
container_name: asklvkaszus-redis
networks:
- asklvkaszus-network
volumes:
- /etc/redis/asklvkaszus:/usr/local/etc/redis
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
restart: unless-stopped
asklvkaszus-backend:
image: lvkaszus/asklvkaszus-backend:latest
container_name: asklvkaszus-backend
networks:
- asklvkaszus-network
ports:
- "127.0.0.1:3030:3030"
environment:
TZ: "Europe/Warsaw" # Update that with your current timezone!
GUNICORN_WORKERS: 1
GUNICORN_THREADS: 4
GUNICORN_TIMEOUT: 60
volumes:
- asklvkaszus_config_data:/asklvkaszus/backend/config
depends_on:
- asklvkaszus-mariadb
- asklvkaszus-redis
restart: unless-stopped
asklvkaszus-frontend:
image: lvkaszus/asklvkaszus-frontend:latest
container_name: asklvkaszus-frontend
networks:
- asklvkaszus-network
ports:
- "127.0.0.1:3031:3031"
environment:
TZ: "Europe/Warsaw" # Update that with your current timezone!
DOMAIN: "https://domain.tld" # Update that with your application domain name!
YOUR_NICKNAME: "@yourNickname" # Update that with your nickname that will be displayed in the application!
depends_on:
- asklvkaszus-backend
restart: unless-stopped