-
-
Notifications
You must be signed in to change notification settings - Fork 79
/
docker-compose-dev.yml
48 lines (46 loc) · 1.33 KB
/
docker-compose-dev.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
version: '3'
services:
backend:
image: openjdk:21-jdk
environment:
MG_RESOLVCONF: /host/run/stub-resolv.conf
MG_DPS_NETWORK: true
MG_DPS_NETWORK_AUTO_CONNECT: true
MG_NO_REMOTE_SERVERS: false
MG_LOG_LEVEL: DEBUG
# MG_LOG_LEVEL: DEBUG
# MG_DPS_NETWORK: true
# MG_DPS_NETWORK_AUTO_CONNECT: true
# - MG_LOG_LEVEL=DEBUG
# - MG_REGISTER_CONTAINER_NAMES=1
# - MG_RESOLVCONF=/host/etc/systemd/resolved.conf
# labels:
# - dps.container=true
volumes:
- ./build/libs:/app
- /var/run/docker.sock:/var/run/docker.sock
# - /run/systemd/resolve/:/host/run/
# - /etc/systemd/:/host/etc/systemd/
working_dir: /app
command: java -jar dns-proxy-server-3.16.1-snapshot-all.jar
# ports:
# - "172.17.0.1:53:53/udp"
# - "192.168.0.128:53:53/udp"
# - "192.168.0.128:53:53/tcp"
# - "127.0.0.1:53:53/udp"
# - "127.0.0.1:53:53/tcp"
# network_mode: host
# https://github.com/gohugoio/hugo/releases/tag/v0.55.4
docs:
image: docker.io/defreitas/tools-generic-cd:0.2.4
volumes:
- ./docs:/src
ports:
- 1313:1313
command: "hugo server --bind 0.0.0.0 --source /src"
frontend:
image: node:12-alpine
volumes:
- ./app:/app
working_dir: /app
command: npm start