forked from gopro/OpenGoPro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (61 loc) · 1.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# docker-compose.yml/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Wed, Sep 1, 2021 5:06:11 PM
version: '3.7'
services:
jekyll:
image: ghcr.io/gopro/opengopro/gpjekyll:main
container_name: jekyll
build:
context: .admin/jekyll
volumes:
- ./docs:/site
healthcheck:
test: curl --fail http://localhost:4998 || exit 1
interval: 2s
retries: 45
start_period: 20s
timeout: 100s
ports:
- '4998:4998'
environment:
# Set (to anything other than develop) so that jekyll build won't overwrite site.url
# https://github.com/jekyll/jekyll/issues/5743
- JEKYLL_ENV=production
# TODO Default parameter shell expansion was somehow not working in github actions so we use .env file
command: '${COMMAND}' # Set via .env file
networks:
- open_gopro
depends_on:
- plant-uml
plant-uml:
container_name: plant-uml
# Note! v1.2023.7 seems to be broken
image: plantuml/plantuml-server:jetty-v1.2023.6
ports:
# 8081 is where it can be accessed externally from Docker. This is not actually needed for building / serving.
- '8081:8080'
networks:
- open_gopro
proto-build:
build:
context: .admin/proto_build
container_name: proto-build
profiles:
- ephemeral
volumes:
- ./protobuf:/proto_in
- ./.build/protobuf/python:/proto_python_out
linkchecker:
image: ghcr.io/gopro/opengopro/gplinkchecker:main
container_name: linkchecker
build:
context: .admin/linkchecker
profiles:
- test
networks:
- open_gopro
depends_on:
- jekyll
networks:
open_gopro:
name: open_gopro