[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/* 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
View 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
View 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:

View 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: . 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: