-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 873 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 873 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
services:
main:
build: .
image: eternaljukebox
restart: always
#networks:
# - internal
ports:
- 8080:8080
env_file:
- .env
volumes:
- './envvar_config.yaml:/EternalJukebox/envvar_config.yaml'
- './data:/EternalJukebox/data'
- './database/eternal_jukebox.mv.db:/EternalJukebox/eternal_jukebox.mv.db' #used for H2 db. Needs to copied from /database/eternal_jukebox.mv.db.init
# depends_on:
# - db
#db:
# image: mysql
# #restart: always
# volumes:
# - ./database:/var/lib/mysql
# networks:
# - internal
# command: --default-authentication-plugin=mysql_native_password
# environment:
# MYSQL_ROOT_PASSWORD: ${SQL_PASSWORD}
# MYSQL_DATABASE: ${SQL_DATABASE_NAME}
# MYSQL_USER: ${SQL_USERNAME}
# MYSQL_PASSWORD: ${SQL_PASSWORD}
#networks:
# internal: