forked from lumawelhot/Luma-varaukset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (47 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
52 lines (47 loc) · 1.04 KB
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
version: '3.7'
services:
luma-varaukset-db:
image: mongo:bionic
volumes:
- ./data:/data/db
restart: unless-stopped
container_name: luma-varaukset-db
luma-varaukset-mongo-admin:
image: mongo-express:latest
restart: unless-stopped
depends_on:
- luma-varaukset-db
container_name: luma-varaukset-mongo-admin
ports:
- '8081:8081'
environment:
- ME_CONFIG_MONGODB_SERVER=luma-varaukset-db
luma-varaukset-app:
build:
context: .
args:
- PUBLIC_URL=http://localhost
restart: unless-stopped
volumes:
- ./config:/app/config
env_file:
- .env
depends_on:
- luma-varaukset-db
container_name: luma-varaukset-app
caddy:
image: caddy:latest
container_name: luma-varaukset-caddy
restart: unless-stopped
ports:
- '80:80'
- '443:443'
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- ./site:/srv
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
external: true
caddy_config: