mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Add SeaweedFS S3-compatible storage container to dev environment
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
services:
|
||||
|
||||
sqlserver:
|
||||
env_file: ".env.dev"
|
||||
image: mcr.microsoft.com/mssql/server:2022-latest
|
||||
@@ -24,6 +25,7 @@ services:
|
||||
start_period: 30s
|
||||
networks:
|
||||
- devnet
|
||||
|
||||
database.migrations:
|
||||
env_file: ".env.dev"
|
||||
image: database.migrations
|
||||
@@ -105,24 +107,45 @@ services:
|
||||
volumes:
|
||||
- nuget-cache-dev:/root/.nuget/packages
|
||||
|
||||
seaweedfs:
|
||||
env_file: ".env.dev"
|
||||
image: chrislusf/seaweedfs
|
||||
container_name: dev-env-seaweedfs
|
||||
ports:
|
||||
- "8333:8333" # S3 API
|
||||
- "8888:8888" # Filer UI
|
||||
- "9333:9333" # Master UI
|
||||
- "23646:23646" # Admin UI
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID: "${SEAWEEDFS_ACCESS_KEY_ID}"
|
||||
AWS_SECRET_ACCESS_KEY: "${SEAWEEDFS_SECRET_ACCESS_KEY}"
|
||||
S3_BUCKET: "${SEAWEEDFS_BUCKET}"
|
||||
volumes:
|
||||
- seaweedfsdata-dev:/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- devnet
|
||||
|
||||
mailpit:
|
||||
image: axllent/mailpit:latest
|
||||
container_name: dev-env-mailpit
|
||||
ports:
|
||||
- "8025:8025" # Web UI
|
||||
- "1025:1025" # SMTP server
|
||||
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
||||
networks:
|
||||
- devnet
|
||||
|
||||
volumes:
|
||||
sqlserverdata-dev:
|
||||
driver: local
|
||||
nuget-cache-dev:
|
||||
driver: local
|
||||
seaweedfsdata-dev:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
devnet:
|
||||
|
||||
Reference in New Issue
Block a user