-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1.31 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
version: "3.4"
services:
autobot-development:
container_name: autobot-development
image: docker.pkg.github.com/ucfai/bot/development:latest
volumes:
- .:/autobot
- ./docker/volume.groups/:/ucfai/
- ./docker/volume.ucfai.org/:/ucfai.org/
- ./docker/container.autobot:/docker
# autobot-production:
# container_name: autobot-production
# image: docker.pkg.github.com/ucfai/bot/production:latest
autobot-hugo:
image: jojomi/hugo:0.60.0
container_name: autobot-hugo
environment:
- HUGO_THEME=academic
- HUGO_WATCH=true
# - HUGO_BASEURL=
command:
- /run.sh # from Dockerfile
- --buildFuture
- --disableFastRender
- --verbose
volumes:
- ./docker/volume.ucfai.org:/src
# use the volume mount below to inspect the hugo output, IFF needed
# - ./build:/output
ports:
- 8234:1313
# TODO this currently works *_only_* on a Linux host, b/c of `evdev`. Figure out if
# there's a way to get around that limitation.
# autobot-reader:
# container_name: autobot-reader
# build:
# context: ./docker/container.reader
# dockerfile: Dockerfile
# volumes:
# - .:/autobot
# - ./docker/container.reader:/docker
# - ./docker/volume.reader:/reader