-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (62 loc) · 1.64 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
version: '3'
networks:
bibbox-default-network:
external: true
services:
bibbox-varapp-backend:
image: sibswiss/varapp-backend:2.0.3
container_name: bibbox-varapp-backend
ports:
- 8000:80
networks:
- bibbox-default-network
depends_on:
- bibbox-varapp-mysql
- bibbox-varapp-redis
links:
- bibbox-varapp-mysql:mysql_1
- bibbox-varapp-redis:redis
volumes:
- ${GEMINI_DB_PATH:-./data/resources/db}:/db
- ${SETTINGS_PATH:-./data/varmed/settings}:/app/varmed/settings
- ./data/init:/var/lib/mysql
environment:
- DJANGO_SETTINGS_MODULE=varmed.settings.settings_docker
- HOST=localhost
- BASE_URL=http://localhost:8000
- SECRET_KEY=112233
- EMAIL_HOST=localhost
- EMAIL_PORT=1025
- MYSQL_PASSWORD=test
bibbox-varapp-frontend:
image: bibbox/varapp-frontend:2.0.3
container_name: bibbox-varapp-frontend
ports:
- 8080:80
networks:
- bibbox-default-network
depends_on:
- bibbox-varapp-backend
# environment:
# - BACKEND_PROTOCOL=http
# - BACKEND_LOCATION=localhost:8000/varapp
bibbox-varapp-mysql:
image: mariadb:10.7.3
container_name: bibbox-varapp-mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: users_db
volumes:
- ./data/mysql-data-volume:/var/lib/mysql
networks:
- bibbox-default-network
bibbox-varapp-redis:
image: "redis:6.2.6-alpine"
container_name: bibbox-varapp-redis
ports:
- "6379:6379"
networks:
- bibbox-default-network