mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
86 lines
2.2 KiB
Diff
86 lines
2.2 KiB
Diff
diff --git a/docker-compose.yml b/docker-compose.yml
|
|
index 1a4dd8295..d2c105ec4 100644
|
|
--- a/docker-compose.yml
|
|
+++ b/docker-compose.yml
|
|
@@ -4,10 +4,11 @@ services:
|
|
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.16.4_2021-05-06}
|
|
environment:
|
|
FAKE_DNS: 10.77.77.77
|
|
- BOULDER_CONFIG_DIR: test/config
|
|
+ BOULDER_CONFIG_DIR: labca/config
|
|
GOFLAGS: -mod=vendor
|
|
volumes:
|
|
- .:/go/src/github.com/letsencrypt/boulder:cached
|
|
+ - /home/labca/boulder_labca:/go/src/github.com/letsencrypt/boulder/labca
|
|
- ./.gocache:/root/.cache/go-build:cached
|
|
networks:
|
|
bluenet:
|
|
@@ -49,11 +50,19 @@ services:
|
|
- 8055:8055 # dns-test-srv updates
|
|
depends_on:
|
|
- bmysql
|
|
- entrypoint: test/entrypoint.sh
|
|
+ entrypoint: labca/entrypoint.sh
|
|
working_dir: &boulder_working_dir /go/src/github.com/letsencrypt/boulder
|
|
+ logging:
|
|
+ driver: "json-file"
|
|
+ options:
|
|
+ max-size: "500k"
|
|
+ max-file: "5"
|
|
+ restart: always
|
|
|
|
bmysql:
|
|
image: mariadb:10.5
|
|
+ volumes:
|
|
+ - dbdata:/var/lib/mysql
|
|
networks:
|
|
bluenet:
|
|
aliases:
|
|
@@ -67,22 +76,37 @@ services:
|
|
# small.
|
|
command: mysqld --bind-address=0.0.0.0 --slow-query-log --log-output=TABLE --log-queries-not-using-indexes=ON
|
|
logging:
|
|
- driver: none
|
|
+ driver: "json-file"
|
|
+ options:
|
|
+ max-size: "500k"
|
|
+ max-file: "5"
|
|
+ restart: always
|
|
|
|
- netaccess:
|
|
+ labca:
|
|
image: *boulder_image
|
|
- environment:
|
|
- GO111MODULE: "on"
|
|
- GOFLAGS: -mod=vendor
|
|
- BOULDER_CONFIG_DIR: test/config
|
|
networks:
|
|
- bluenet
|
|
volumes:
|
|
- - .:/go/src/github.com/letsencrypt/boulder
|
|
- working_dir: *boulder_working_dir
|
|
- entrypoint: test/entrypoint-netaccess.sh
|
|
+ - /home/labca/admin:/go/src/labca
|
|
+ - ./.gocache:/root/.cache/go-build
|
|
+ - /var/www/html:/wwwstatic
|
|
+ - .:/boulder
|
|
+ - /home/labca/boulder_labca:/boulder/labca
|
|
+ ports:
|
|
+ - 3000:3000
|
|
depends_on:
|
|
- bmysql
|
|
+ working_dir: /go/src/labca
|
|
+ command: ./setup.sh
|
|
+ logging:
|
|
+ driver: "json-file"
|
|
+ options:
|
|
+ max-size: "500k"
|
|
+ max-file: "5"
|
|
+ restart: always
|
|
+
|
|
+volumes:
|
|
+ dbdata:
|
|
|
|
networks:
|
|
bluenet:
|