diff options
author | FChannel0 <77419041+FChannel0@users.noreply.github.com> | 2021-08-17 12:41:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 12:41:20 -0700 |
commit | 21917eb2ea72fe40d70c2c991e821aace5430c23 (patch) | |
tree | 4dd4122a8661231181ead7c00bdc92c3d498589f /docker-compose.yml | |
parent | 149f71db2d6e1b704ff2712393da5276a622d4dd (diff) | |
parent | c8e0fb94bac60679ccebfcdec9cefb32674b2eec (diff) |
Merge pull request #51 from KushBlazingJudah/development
go fmt and docker configuration
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 26 |
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 |