forked from waldenn/conzept
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (46 loc) · 1.18 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
49
50
51
#version: "3"
services:
certbot:
container_name: certbot
image: certbot/certbot
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
# depends_on:
# - conzept
#typesense:
#image: typesense/typesense:26.0
#restart: on-failure
#ports:
# - "8108:8108"
#volumes:
# - ./typesense-data:/var/lib/typesense
#command: '--data-dir /var/lib/typesense --api-key=xyz --enable-cors'
conzept:
container_name: conzept
# env_file:
# - .env
build:
context: .
volumes:
- sslvolume:/etc/ssl
- ./data/certbot/conf:/etc/letsencrypt/
- ./data/certbot/www:/var/www/certbot
# only use these mappings during local development (never commit!):
# FIXME: not yet producing a working build.
#- app:/var/www/html/app
#- /var/www/html/app/explore2/node_modules
ports:
- 80:80
- 443:443
restart: on-failure
volumes:
sslvolume:
app:
driver: local
driver_opts:
o: bind
type: none
device: ./app
#external: true