generated from EntraptaJ/Application-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.old
84 lines (75 loc) · 1.88 KB
/
docker-compose.yml.old
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.7'
services:
Web:
image: abiosoft/caddy
ports:
- 80:80
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./ACMEDL/data:/SSL
API:
image: kristianfoss/lab/distributed-dns-api
build:
context: ./API
dockerfile: Dockerfile.dev
environment:
DB_HOST: database
DB_PASSWORD: pgpass
NODE_ENV: development
volumes:
- ./API:/development
- ./API.graphql:/API.graphql
Web-Gen:
image: kristianfoss/development/gql-gen
build:
context: ./Scripts/GraphQLCodegen
dockerfile: Dockerfile
volumes:
- ./Web:/data
SubscriberDL-GQLGen:
image: kristianfoss/development/gql-gen
build:
context: ./Scripts/GraphQLCodegen
dockerfile: Dockerfile
volumes:
- ./SubscriberDL:/data
Database:
image: postgres:11-alpine
ports:
- 4763:5432
volumes:
- databaseData:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: pgpass
POSTGRES_DB: application
NS1:
image: resystit/bind9:latest
restart: unless-stopped
container_name: DistributedDNS-NS1
ports:
- 53:53/tcp
- 53:53/udp
- 55:53/udp
volumes:
- ./SubscriberDL/data/Zones:/zones
- ./SubscriberDL/data/BIND:/etc/bind/
labels:
- com.distributed-dns.bind=true
SubscriberDL:
build: ./SubscriberDL
image: kristianfoss/lab/distributed-dns-subscriberdl
environment:
SUBSCRIBER_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJzY3JpYmVySWQiOiJmY2NkMzVlZS1jODQyLTRkZWItODg1Mi1iODI2Mjk2N2NjNTYiLCJpYXQiOjE1NzQ3MTg2MTB9.IJSEASiuJOFteJ2F1rXNc6Fu5lETQQ7LGw-6MbqwpUI
API_URL: http://api
volumes:
- zoneFiles:/data/Zones
- bindConfig:/data/BIND
- state:/data/State
- /var/run/docker.sock:/var/run/docker.sock
volumes:
databaseData:
zoneFiles:
bindConfig:
state:
networks:
backendDB: