-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 872 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
42
43
version: "3.6"
networks:
gamification:
driver: bridge
services:
db:
container_name: gamificationdb
environment:
MYSQL_ROOT_PASSWORD: "Sv7Qaw6=^8Q-Bwt&"
MYSQL_PASSWORD: $DB_PASS
MYSQL_DATABASE: $DB_NAME
MYSQL_USER: $DB_USER
image: mysql:5.7
networks:
- gamification
ports:
- 3306:3306
restart: always
volumes:
- ./data/storage/database:/var/lib/mysql
# - ./data/database.sql:/docker-entrypoint-initdb.d/local.sql
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: gamificationmyadmin
networks:
- gamification
ports:
- 8181:80
# web:
# container_name: gamificationweb
# build: .
# volumes:
# - './:/app'
# ports:
# - $SERVER_PORT:$SERVER_PORT
# command: >
# bash -c "npm start"
# depends_on:
# - db