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:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user