1
0
mirror of https://github.com/evilsocket/shieldwall.git synced 2021-09-07 00:28:37 +03:00

use docker-compose only for the database

This commit is contained in:
Simone Margaritelli
2021-02-10 01:56:58 +01:00
parent c25bad619e
commit 10eb29d7f6

View File

@@ -13,21 +13,21 @@ services:
networks:
- shieldwall
shieldwall_api:
container_name: shieldwall_api
image: shieldwall_api:latest
build:
context: ./
dockerfile: Dockerfile
depends_on:
- database
ports:
- 8666:8666
volumes:
- ./api.yaml:/etc/shieldwall/config.yaml
restart: unless-stopped
networks:
- shieldwall
# shieldwall_api:
# container_name: shieldwall_api
# image: shieldwall_api:latest
# build:
# context: ./
# dockerfile: Dockerfile
# depends_on:
# - database
# ports:
# - 8666:8666
# volumes:
# - ./api.yaml:/etc/shieldwall/config.yaml
# restart: unless-stopped
# networks:
# - shieldwall
volumes:
db:
@@ -35,4 +35,4 @@ volumes:
networks:
shieldwall:
driver: bridge
driver: bridge