commit
3ad0448d05
@ -0,0 +1,28 @@ |
||||
version: '3' |
||||
services: |
||||
database: |
||||
image: postgres:13.4-alpine |
||||
environment: |
||||
- POSTGRES_USER=hedgedoc |
||||
- POSTGRES_PASSWORD=password |
||||
- POSTGRES_DB=hedgedoc |
||||
volumes: |
||||
- database:/var/lib/postgresql/data |
||||
restart: always |
||||
app: |
||||
# Make sure to use the latest release from https://hedgedoc.org/latest-release |
||||
image: quay.io/hedgedoc/hedgedoc:1.9.3 |
||||
environment: |
||||
- CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc |
||||
- CMD_DOMAIN=spacestation |
||||
- CMD_URL_ADDPORT=true |
||||
volumes: |
||||
- uploads:/hedgedoc/public/uploads |
||||
ports: |
||||
- "3000:3000" |
||||
restart: always |
||||
depends_on: |
||||
- database |
||||
volumes: |
||||
database: |
||||
uploads: |
@ -0,0 +1,35 @@ |
||||
version: '3' |
||||
|
||||
volumes: |
||||
mysql_data: |
||||
driver: local |
||||
|
||||
services: |
||||
mysql: |
||||
image: mysql:5.7 |
||||
volumes: |
||||
- mysql_data:/var/lib/mysql |
||||
environment: |
||||
MYSQL_ROOT_PASSWORD: root |
||||
MYSQL_DATABASE: keycloak |
||||
MYSQL_USER: keycloak |
||||
MYSQL_PASSWORD: password |
||||
keycloak: |
||||
image: quay.io/keycloak/keycloak:18.0.0 |
||||
entrypoint: /opt/keycloak/bin/kc.sh start-dev |
||||
environment: |
||||
DB_VENDOR: MYSQL |
||||
DB_ADDR: mysql |
||||
DB_DATABASE: keycloak |
||||
DB_USER: keycloak |
||||
DB_PASSWORD: password |
||||
KEYCLOAK_ADMIN: admin |
||||
KEYCLOAK_ADMIN_PASSWORD: admin |
||||
KEYCLOAK_HOSTNAME: spacestation |
||||
volumes: |
||||
- ./certs:/etc/x509/https |
||||
ports: |
||||
- 8080:8080 |
||||
- 8443:8443 |
||||
depends_on: |
||||
- mysql |
Loading…
Reference in new issue