-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
97 lines (92 loc) · 2.31 KB
/
docker-compose.yaml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
version: "3.7"
volumes:
node_modules_frontend: {}
strapi_uploads:
external: true
services:
common-frontend:
restart: always
build: ./nginx
ports:
- "80:80"
- "8000:8000"
#- "443:443"
networks:
homepage-network:
ipv4_address: 172.23.2.10
strapi:
restart: always
environment:
- HOST=strapi
- PORT=1337
- URL_ADMIN=http://web.fsmpi:8000/admin
- URL_SERVER=https://fsmpi.uni-bayreuth.de/v1
#env_file:
# - shared.env
build: ./strapi-backend
image: strapi:1.0.0
#working_dir: "/opt"
#stdin_open: true
#tty: true
volumes:
- strapi_uploads:/opt/app/public/uploads
ports:
- "1337:1337"
networks:
homepage-network:
ipv4_address: 172.23.2.40
vuecms:
restart: always
#env_file:
# - shared.env
build: ./frontend
image: vuecms:1.0.0
working_dir: "/var/vuecms"
volumes:
- ./frontend:/var/vuecms
- /var/vuecms/dist-ssr
- /var/vuecms/production
- node_modules_frontend:/var/vuecms/node_modules
ports:
- "5000"
networks:
homepage-network:
ipv4_address: 172.23.2.50
networks:
homepage-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.23.2.0/24
#https-portal:
# image: steveltn/https-portal:1.13
#ports: # Syntax: 'HOST:CONTAINER'
# - '80:80'
# - '443:443'
#volumes:
# - ./volumes/ssl_certs:/var/lib/https-portal
#links: # Syntax: service:hostname
# - factor
#restart: unless-stopped
#environment:
# STAGE: local
# DOMAINS: 'www.fsmpi.uni-bayreuth.de => fsmpi.uni-bayreuth.de, fsmpi.uni-bayreuth.de -> http://factor:3000'
#networks:
# homepage-network:
# ipv4_address: 172.23.2.10
#mongodb:
# image: mongo:4.2.3
# restart: unless-stopped
# ports:
# - "27017:27017"
# volumes:
# - mongo_data:/data/db
# - ./mongodb-init.js:/docker-entrypoint-initdb.d/mongodb-init.js
# environment:
# - MONGO_INITDB_ROOT_USERNAME=root
# - MONGO_INITDB_ROOT_PASSWORD=mongodbROOT
# - MONGO_INITDB_DATABASE=factor
# networks:
# homepage-network:
# ipv4_address: 172.23.2.30