forked from ITI/searcch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 935 Bytes
/
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
version: '3.7'
services:
caddy:
# image: caddy:latest
container_name: caddy
restart: always
build:
context: .
dockerfile: Dockerfile.caddy
ports:
- "80:80"
- "443:443"
volumes:
- ${DATADIR:-/data}/caddy/Caddyfile:/etc/caddy/Caddyfile
- ${DATADIR:-/data}/caddy/data:${DATADIR:-/data}
- ${DATADIR:-/data}/caddy/config:/config
- ${DATADIR:-/data}/caddy/ssl/:/var/lib/caddy
networks:
- searcch-frontend-local-dev-net
searcch-frontend-local-dev:
image: searcch-frontend-local-dev
container_name: searcch-frontend-local-dev
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile.f
env_file:
- env/searcch-frontend-local-dev.env
ports:
- 127.0.0.1:3000:3000
networks:
- searcch-frontend-local-dev-net
networks:
searcch-frontend-local-dev-net:
name: searcch-frontend-local-dev-net