mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
[BUILD] Change docker image & container names
This commit is contained in:
2
deploy/templates/Caddyfile.j2
Normal file → Executable file
2
deploy/templates/Caddyfile.j2
Normal file → Executable file
@@ -6,7 +6,7 @@ http://* {
|
||||
not path /static/*
|
||||
}
|
||||
|
||||
reverse_proxy @proxy_paths http://web:8000
|
||||
reverse_proxy @proxy_paths http://server:8000
|
||||
|
||||
log {
|
||||
output stderr
|
||||
|
||||
8
deploy/templates/docker-compose.yml.j2
Normal file → Executable file
8
deploy/templates/docker-compose.yml.j2
Normal file → Executable file
@@ -1,8 +1,9 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: breccia-mapper
|
||||
server:
|
||||
image: breccia-relationship-mapper
|
||||
container_name: relationship-mapper-server
|
||||
build: {{ project_src_dir }}
|
||||
ports:
|
||||
- 8000:8000
|
||||
@@ -16,6 +17,7 @@ services:
|
||||
|
||||
caddy:
|
||||
image: caddy:2
|
||||
container_name: relationship-mapper-caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80:80
|
||||
@@ -27,7 +29,7 @@ services:
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
depends_on:
|
||||
- web
|
||||
- server
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
|
||||
Reference in New Issue
Block a user