Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (60 loc) · 1.71 KB
/
Copy pathdocker-compose.yml
File metadata and controls
61 lines (60 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
services:
seaweedfs:
image: chrislusf/seaweedfs:4.48@sha256:4e61d15fd35994cb1e43e1e553dff106794841fd9a99ade2fc8c8bfce4d7872d
command: [mini, -dir=/data]
environment:
AWS_ACCESS_KEY_ID: methodconf-local
AWS_SECRET_ACCESS_KEY: methodconf-local-password
S3_BUCKET: methodconf-local
ports:
- '127.0.0.1:8334:8333'
volumes:
- 'seaweedfs-data:/data'
backend:
build:
context: ./
dockerfile: ./Dockerfile
ports:
- '${APP_PORT:-8080}:8080'
env_file:
- .env
environment:
AWS_ACCESS_KEY_ID: methodconf-local
AWS_SECRET_ACCESS_KEY: methodconf-local-password
AWS_SESSION_TOKEN: ""
AWS__ServiceURL: http://seaweedfs:8333
AWS__ForcePathStyle: "true"
Umbraco__Storage__AWSS3__Media__BucketName: methodconf-local
depends_on:
- seaweedfs
volumes:
- './src/MethodConf.Cms/umbraco/Data/Umbraco.sqlite.db:/app/umbraco/Data/Umbraco.sqlite.db'
- 'cache:/app/umbraco/Data/TEMP'
- 'data-protection-keys:/home/app/.aspnet/DataProtection-Keys'
restart: unless-stopped
profiles: [ backend ]
sqlite-web:
build:
context: https://github.com/coleifer/sqlite-web.git
dockerfile: docker/Dockerfile
ports:
- "${SQLITE_WEB_PORT:-8080}:8080"
volumes:
- ./src/MethodConf.Cms/umbraco/Data:/data
env_file:
- .env
command: >
sqlite_web /data/Umbraco.sqlite.db
--password "$SQLITE_WEB_PASSWORD"
--host 0.0.0.0
profiles: [ sqlite-web ]
maildev:
image: maildev/maildev
ports:
- '${SMTP_PORT:-1025}:1025'
- '${EMAIL_GUI_PORT:-1080}:1080'
profiles: [ local-email ]
volumes:
seaweedfs-data:
cache:
data-protection-keys: