Apostolos Fanakis
4 years ago
5 changed files with 24 additions and 24 deletions
@ -1,10 +1,10 @@ |
|||
build: |
|||
@docker-compose -p apella-guide build; |
|||
@docker-compose -p concordia-guide build; |
|||
run: |
|||
@docker-compose -p apella-guide up -d |
|||
@docker-compose -p concordia-guide up -d |
|||
stop: |
|||
@docker-compose -p apella-guide down |
|||
@docker-compose -p concordia-guide down |
|||
stop-clean-data: |
|||
@docker-compose -p apella-guide down -v |
|||
@docker-compose -p concordia-guide down -v |
|||
clean-images: |
|||
@docker rmi `docker images -q -f "dangling=true"` |
|||
|
@ -1,20 +1,20 @@ |
|||
version: '3.7' |
|||
|
|||
services: |
|||
apella-guide: |
|||
concordia-guide: |
|||
build: ./ |
|||
container_name: apella-guide |
|||
container_name: concordia-guide |
|||
restart: always |
|||
env_file: |
|||
- ./env/apella-guide.env |
|||
- ./env/concordia-guide.env |
|||
expose: |
|||
- "8000" |
|||
volumes: |
|||
- ./src/:/var/www/servers/apella-guide/ |
|||
- ./src/:/var/www/servers/concordia-guide/ |
|||
networks: |
|||
- janus_apella-net |
|||
- janus_concordia_net |
|||
|
|||
# Networks in use |
|||
networks: |
|||
janus_apella-net: |
|||
janus_concordia_net: |
|||
external: true |
|||
|
@ -1,4 +1,4 @@ |
|||
VIRTUAL_HOST=guide.apella.tk |
|||
VIRTUAL_HOST=guide.concordia.ecentrics.net |
|||
VIRTUAL_PORT=8000 |
|||
LETSENCRYPT_HOST=guide.apella.tk |
|||
LETSENCRYPT_HOST=guide.concordia.ecentrics.net |
|||
LETSENCRYPT_EMAIL=ecentricsgr@gmail.com |
|||
|
Loading…
Reference in new issue