-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (39 loc) · 942 Bytes
/
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
version: '3'
services:
database:
image: mysql:latest
container_name: database_crux_atlas
environment:
MYSQL_ROOT_PASSWORD: my_secret_password
MYSQL_DATABASE: app_db
MYSQL_USER: db_user
MYSQL_PASSWORD: db_user_pass
ports:
- "6033:3306"
volumes:
- dbdata:/var/lib/mysql
# command: [ "--init-file", "/docker-entrypoint-initdb.d/init.sql" ]
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin_crux_atlas
links:
- database
environment:
PMA_HOST: database
PMA_PORT: 3306
PMA_ARBITRARY: 1
restart: always
ports:
- 8081:80
ktor_app:
build: .
context: .
image: cruxatlas/vpscruxatlas:0.0.1-preview
container_name: cruxAtlas
restart: always
ports:
- "8080:8080"
environment:
JWT_SECRET: 368760591be1fdb7aa2b9244bde7a4edc243d1003fc23ee229fa785bcc88bbde
volumes:
dbdata: