[BUILD] Change docker image & container names

This commit is contained in:
2023-01-05 17:56:04 +00:00
parent 7e2491be76
commit 15bbf2f7d1
4 changed files with 12 additions and 8 deletions

2
Caddyfile Normal file → Executable file
View File

@@ -6,7 +6,7 @@
not path /static/*
}
reverse_proxy @proxy_paths http://web:8000
reverse_proxy @proxy_paths http://server:8000
log {
output stderr

2
deploy/templates/Caddyfile.j2 Normal file → Executable file
View 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
View 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:

View File

@@ -1,8 +1,9 @@
version: '3.1'
services:
web:
image: breccia-mapper
server:
image: breccia-relationship-mapper
container_name: relationship-mapper-server
build: .
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: