-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 923 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.1"
networks:
personal:
driver: bridge
# external:
# name: srv_personal
services:
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
env_file:
- .env
networks:
- personal
volumes:
- ./data:/var/lib/mysql
app:
build: .
restart: always
volumes:
- ./dist:/app/dist
- ./assets:/app/assets
depends_on:
- db
links:
- db
networks:
- personal
ports:
- 3000:3000
environment:
- LETSENCRYPT_HOST=randomizer.karel-kroeze.nl
- LETSENCRYPT_EMAIL=karel.kroeze@gmail.com
# - VIRTUAL_HOST=randomizer.karel-kroeze.nl
# - VIRTUAL_PORT=3000
env_file:
- .env