-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
48 lines (46 loc) · 1.03 KB
/
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
42
43
44
45
46
47
48
services:
web:
ports: ["8080:80"]
image: morris:latest
stdin_open: true
tty: true
build:
context: .
dockerfile: docker/app/Dockerfile
args:
USER_ID: ${USER_ID:-10000}
GROUP_ID: ${GROUP_ID:-10000}
environment:
EDITOR: vi
HISTFILE: /log/.bash_history # TODO: test
labels:
- "traefik.http.routers.morris.rule=Host(`morris.127.0.0.1.nip.io`)"
- "traefik.http.routers.morris.tls=true"
- "traefik.enable=true"
# not working
dev:
image: morris:dev
stdin_open: true
tty: true
ports:
- "4000:4000"
- "35729:35729"
expose: ["4000"]
build:
target: base
context: .
dockerfile: docker/app/Dockerfile
args:
USER_ID: ${USER_ID:-10000}
GROUP_ID: ${GROUP_ID:-10000}
environment:
EDITOR: vi
HISTFILE: /log/.bash_history # TODO: test
volumes:
- .:/app:cached
#- bundle:/bundle
#- './:/srv/jekyll'
networks:
default:
name: traefik
external: true