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