aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml33
1 files changed, 0 insertions, 33 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
deleted file mode 100644
index a3f011e..0000000
--- a/docker-compose.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-version: '3'
-services:
- thulani:
- image: thulani
- build: .
- depends_on:
- - db
- - migrate
-
- environment:
- DATABASE_URL: "postgres://thulani:clickheretodie@db/memes"
- RUST_BACKTRACE: 1
-
- db:
- image: postgres:latest
- restart: always
- volumes:
- - db-data:/var/lib/postgresql/data
- environment:
- POSTGRES_USER: thulani
- POSTGRES_PASSWORD: clickheretodie
- POSTGRES_DB: memes
-
- migrate:
- build:
- context: .
- dockerfile: Dockerfile-migrate
- restart: on-failure
- depends_on:
- - db
-
-volumes:
- db-data: