From 6e7eaf774209bf6dfa55a2ba5bc424eeb2f5ea08 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Sun, 15 Aug 2021 17:29:05 -0300 Subject: docker --- docker-compose.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..892d598 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,26 @@ +version: '3' +services: + postgres: + image: postgres:13.4-alpine + restart: unless-stopped + environment: + POSTGRES_USER: fchan + POSTGRES_PASSWORD: hackme + POSTGRES_DB: fchan + volumes: + - ./pgdata:/var/lib/postgresql/data + redis: + image: redis:6.2-alpine + restart: unless-stopped + fchan: + build: ./ + restart: unless-stopped + volumes: + - ./config:/app/config + - ./public/:/app/public/ + - ./pem/:/app/pem/ + ports: + - "3000:3000" + links: + - redis + - postgres -- cgit v1.2.3