-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
56 lines (54 loc) · 1.5 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
version: "2"
networks:
blur:
services:
db:
image: mariadb
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MYSQL_DATABASE: ${MYSQL_NAME}
MYSQL_USER: ${MYSQL_USERNAME}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- ./db_data/:/var/lib/mysql
restart: unless-stopped
phpmyadmin:
image: phpmyadmin
depends_on:
- db
restart: unless-stopped
frontend:
image: ghcr.io/testausserveri/qrpyora/frontend
ports:
- "8080:80"
volumes:
- ./static/:/usr/local/apache2/htdocs/static/
depends_on:
- db
- backend
restart: unless-stopped
backend:
image: ghcr.io/testausserveri/qrpyora/backend
environment:
MYSQL_NAME: ${MYSQL_NAME}
MYSQL_USERNAME: ${MYSQL_USERNAME}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_HOST: ${MYSQL_HOST}
NOMINATIM_URL: ${NOMINATIM_URL}
ADMIN: ${ADMIN}
WEBHOOK_URL: ${WEBHOOK_URL}
PROD_ENDPOINT: ${PROD_ENDPOINT}
INSTAGRAM_USER: ${INSTAGRAM_USER}
INSTAGRAM_PASS: ${INSTAGRAM_PASS}
networks:
- blur
volumes:
- ./static/:/usr/src/app/static/
depends_on:
- db
restart: unless-stopped
blur:
image: raikasdev/qrpyora-blur
networks:
- blur
restart: unless-stopped