forked from DevelopingSpace/starchart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (72 loc) · 2.52 KB
/
docker-compose.yml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3.8'
services:
# Only for development
database:
image: mysql:8
container_name: database
ports:
# Only for dev
- 3306:3306
volumes:
# Persist data to ./mysql-data. Remove if you want to clear the db.
- ./mysql-data:/var/lib/mysql
environment:
MYSQL_DATABASE: starchart
MYSQL_USER: starchart
MYSQL_PASSWORD: starchart_password
MYSQL_ROOT_PASSWORD: root_password
redis:
image: redis:7.0.8-alpine3.17
container_name: redis
command: ['redis-server']
ports:
# Only for dev
- 6379:6379
volumes:
# Persist data to ./redis-data. Remove if you want to clear the db.
- ./redis-data:/data
# Mock Route53 server for testing, see:
# http://docs.getmoto.org/en/latest/docs/server_mode.html
#
# AWS Endpoint URL: http://localhost:5053
# Dashboard URL: http://localhost:5053/moto-api
# Reset URL: POST to http://localhost:5053/moto-api/reset
dns:
container_name: route53_mock
image: motoserver/moto:4.1.1
ports:
- '5053:5000'
# Let's Encrypt test server - https://github.com/letsencrypt/pebble
lets_encrypt:
image: letsencrypt/pebble:latest
container_name: lets_encrypt
# Use the challenge test server for our DNS challenges (we'll mock the TXT records)
command: pebble -config /test/config/pebble-config.json -strict
ports:
- '14000:14000' # HTTPS ACME API
- '15000:15000' # HTTPS Management API
environment:
# Skip challenge validation, see https://github.com/letsencrypt/pebble#skipping-validation
# If we decide to implement challenges in testing:
# https://github.com/letsencrypt/pebble/blob/main/cmd/pebble-challtestsrv/README.md
PEBBLE_VA_ALWAYS_VALID: 1
mailhog:
image: jcalonso/mailhog:latest
container_name: mailhog
ports:
- 8025:8025 # MailHog interface
- 1025:1025 # SMTP server
# SSO Identity Provider test service, https://simplesamlphp.org
# Access to the login page available at http://localhost:8081
login:
image: kristophjunge/test-saml-idp
container_name: 'login'
ports:
- '8081:8080'
environment:
- SIMPLESAMLPHP_SP_ENTITY_ID=${SAML_ENTITY_ID}
- SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=${SSO_LOGIN_CALLBACK_URL}
- SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=${SLO_LOGOUT_CALLBACK_URL}
volumes:
- ./config/simplesamlphp-users.php:/var/www/simplesamlphp/config/authsources.php
- ./config/saml20-idp-hosted.php:/var/www/simplesamlphp/metadata/saml20-idp-hosted.php