Skip to content

Commit

Permalink
Define profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Mar 3, 2022
1 parent f8ef592 commit 9a74b51
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
version: "3.8"
version: "3.9"
# for persistent endpoint limiter, uncomment RATELIMIT_STORAGE_URI and the redis entry

services:

db:
container_name: dds_database
image: mariadb:latest
Expand Down Expand Up @@ -53,7 +52,6 @@ services:
ports:
- 127.0.0.1:5000:5000
volumes:

# Migrations
- type: bind
source: ./migrations
Expand Down Expand Up @@ -81,6 +79,9 @@ services:

minio:
image: minio/minio:RELEASE.2022-02-24T22-12-01Z
profiles:
- dev
- full-dev
command: server /data --console-address ":9001"
ports:
- 127.0.0.1:9000:9000
Expand All @@ -93,12 +94,16 @@ services:
# source: ./minio-data
# target: /data

# mailcatcher:
# image: sj26/mailcatcher:latest
# restart: on-failure
# ports:
# - 127.0.0.1:1080:1080
mailcatcher:
image: sj26/mailcatcher:latest
profiles:
- dev
- full-dev
ports:
- 127.0.0.1:1080:1080

# redis:
# container_name: dds_redis
# image: redis:latest
redis:
container_name: dds_redis
image: redis:latest
profiles:
- full-dev

0 comments on commit 9a74b51

Please sign in to comment.