aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 17:29:05 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 17:29:05 -0300
commit6e7eaf774209bf6dfa55a2ba5bc424eeb2f5ea08 (patch)
tree08e3bbefe06f327c36e4d94522bd65ceedb3bde5 /docker-compose.yml
parent7f7625d9b79503d74f938f4be90bc50f926a6d56 (diff)
docker
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml26
1 files changed, 26 insertions, 0 deletions
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