summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docker-compose.yml66
1 files changed, 0 insertions, 66 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
deleted file mode 100644
index 10a37a3..0000000
--- a/docker-compose.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-services:
- web:
- build: ./build/nginx
- restart: unless-stopped
- ports:
- - '80:8080'
- volumes:
- - ./src:/opt/xssbook:ro
- - ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- depends_on:
- - rest
- - php
-
- php:
- build: ./build/php
- restart: unless-stopped
- env_file:
- - ./conf/postgres/database.env
- volumes:
- - ./src:/opt/xssbook:ro
- - ./data/status:/status:ro
- - ./data/session:/var/lib/php/session
- depends_on:
- - db
-
- db:
- build: ./build/postgres
- restart: unless-stopped
- env_file:
- - ./conf/postgres/database.env
- environment:
- - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
- volumes:
- - './data/schemas:/var/lib/postgresql/data'
- - ./src/db:/db:ro
-
- rest:
- build: ./build/postgrest
- restart: unless-stopped
- env_file:
- - ./conf/postgres/database.env
- depends_on:
- - db
-
- init:
- build: ./build/init
- restart: no
- env_file:
- - ./conf/postgres/database.env
- volumes:
- - ./src/db:/db:ro
- - ./data/status:/status
- depends_on:
- - db
-
- shim:
- build: ./build/shim
- restart: no
- env_file:
- - ./conf/postgres/database.env
- volumes:
- - ./src/shim:/opt/shim:ro
- - ./data/status:/status:ro
- - ./data/shim/:/data:ro
- depends_on:
- - db