-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
38 lines (35 loc) · 737 Bytes
/
compose.yml
File metadata and controls
38 lines (35 loc) · 737 Bytes
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
name: ankush_dev
services:
backend:
image: ghcr.io/ankush/personal_blog:latest
build:
context: .
dockerfile: ./Dockerfile
volumes:
- content:/opt/blog/content:rw
working_dir: /opt/blog/
stop_grace_period: 1s
restart: always
ports:
- "3000:3000"
caddy:
image: caddy:2
container_name: caddy
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- content:/content
environment:
DOMAIN: "https://ankush.dev"
EMAIL: "ankushmenat@gmail.com"
LOG_FILE: "/data/access.log"
volumes:
content:
driver: local
driver_opts:
type: none
o: bind
device: ./content