-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
executable file
·42 lines (38 loc) · 1013 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.5"
services:
app:
# image: 'jc21/nginx-proxy-manager:2.9.0'
# Sorry for the esoteric fuckery. but this PR has *.domain.bla fix in it.
image: 'jc21/nginx-proxy-manager:github-pr-1181'
ports:
- '80:80'
- '81:81'
- '443:443'
restart: always
volumes:
- ./config.json:/app/config/production.json
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
db:
image: 'jc21/mariadb-aria:10.4'
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'npm'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: 'npm'
volumes:
- ./data/mysql:/var/lib/mysql
assistant:
build: .
restart: always
depends_on:
- app
entrypoint: "npm run dev"
environment:
username: '[email protected]' # your npm login
password: 'xaphn42X' # npm password
le_email: '[email protected]'
volumes:
- ./app:/usr/src/app
- /var/run/docker.sock:/var/run/docker.sock