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
Caddyfile
Normal file → Executable file
2
Caddyfile
Normal file → Executable file
@@ -6,7 +6,7 @@
|
|||||||
not path /static/*
|
not path /static/*
|
||||||
}
|
}
|
||||||
|
|
||||||
reverse_proxy @proxy_paths http://web:8000
|
reverse_proxy @proxy_paths http://server:8000
|
||||||
|
|
||||||
log {
|
log {
|
||||||
output stderr
|
output stderr
|
||||||
|
|||||||
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/*
|
not path /static/*
|
||||||
}
|
}
|
||||||
|
|
||||||
reverse_proxy @proxy_paths http://web:8000
|
reverse_proxy @proxy_paths http://server:8000
|
||||||
|
|
||||||
log {
|
log {
|
||||||
output stderr
|
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'
|
version: '3.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
server:
|
||||||
image: breccia-mapper
|
image: breccia-relationship-mapper
|
||||||
|
container_name: relationship-mapper-server
|
||||||
build: {{ project_src_dir }}
|
build: {{ project_src_dir }}
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:2
|
image: caddy:2
|
||||||
|
container_name: relationship-mapper-caddy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
@@ -27,7 +29,7 @@ services:
|
|||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_config:/config
|
- caddy_config:/config
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
- server
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
version: '3.1'
|
version: '3.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
server:
|
||||||
image: breccia-mapper
|
image: breccia-relationship-mapper
|
||||||
|
container_name: relationship-mapper-server
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
@@ -16,6 +17,7 @@ services:
|
|||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:2
|
image: caddy:2
|
||||||
|
container_name: relationship-mapper-caddy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
@@ -27,7 +29,7 @@ services:
|
|||||||
- caddy_data:/data
|
- caddy_data:/data
|
||||||
- caddy_config:/config
|
- caddy_config:/config
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
- server
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user