100 lines
4.4 KiB
YAML
100 lines
4.4 KiB
YAML
services:
|
|
pastefy-mariadb:
|
|
image: 'mariadb:10.11'
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: UkqK4lDXSp<2l4Pk
|
|
MYSQL_DATABASE: pastefy
|
|
MYSQL_USER: pastefy
|
|
MYSQL_PASSWORD: UkqK4lDXSp<2l4Pk
|
|
COOLIFY_RESOURCE_UUID: a0s8ow8sso8k4ok84kww0sw4
|
|
COOLIFY_CONTAINER_NAME: pastefy-mariadb-a0s8ow8sso8k4ok84kww0sw4
|
|
SERVICE_NAME_PASTEFY_MARIADB: pastefy-mariadb
|
|
SERVICE_NAME_PASTEFY: pastefy
|
|
volumes:
|
|
- '/mnt/data/docker/volumes/captain--pastefy-db-data/_data:/var/lib/mysql'
|
|
container_name: pastefy-mariadb-a0s8ow8sso8k4ok84kww0sw4
|
|
restart: unless-stopped
|
|
labels:
|
|
- coolify.managed=true
|
|
- coolify.version=4.0.0-beta.434
|
|
- coolify.serviceId=15
|
|
- coolify.type=service
|
|
- coolify.name=pastefy-mariadb-a0s8ow8sso8k4ok84kww0sw4
|
|
- coolify.resourceName=pastefy
|
|
- coolify.projectName=services
|
|
- coolify.serviceName=pastefy-mariadb
|
|
- coolify.environmentName=production
|
|
- coolify.pullRequestId=0
|
|
- coolify.service.subId=4
|
|
- coolify.service.subType=database
|
|
- coolify.service.subName=pastefy-mariadb
|
|
networks:
|
|
a0s8ow8sso8k4ok84kww0sw4: null
|
|
pastefy:
|
|
image: 'interaapps/pastefy:latest'
|
|
environment:
|
|
HTTP_SERVER_PORT: '80'
|
|
HTTP_SERVER_CORS: '*'
|
|
DATABASE_DRIVER: mysql
|
|
DATABASE_NAME: pastefy
|
|
DATABASE_USER: pastefy
|
|
DATABASE_PASSWORD: UkqK4lDXSp<2l4Pk
|
|
DATABASE_HOST: pastefy-mariadb
|
|
DATABASE_PORT: '3306'
|
|
SERVER_NAME: 'https://pastefy.site.quack-lab.dev'
|
|
_OAUTH2_DISCORD_CLIENT_ID: '1247220490779754527'
|
|
_OAUTH2_DISCORD_CLIENT_SECRET: 2de443fa04f23bab08fec4fc829d640b7bcff8362b39424b765ad62c40716922
|
|
COOLIFY_RESOURCE_UUID: a0s8ow8sso8k4ok84kww0sw4
|
|
COOLIFY_CONTAINER_NAME: pastefy-a0s8ow8sso8k4ok84kww0sw4
|
|
COOLIFY_FQDN: pastefy.site.quack-lab.dev
|
|
COOLIFY_URL: 'https://pastefy.site.quack-lab.dev'
|
|
SERVICE_NAME_PASTEFY_MARIADB: pastefy-mariadb
|
|
SERVICE_NAME_PASTEFY: pastefy
|
|
container_name: pastefy-a0s8ow8sso8k4ok84kww0sw4
|
|
restart: unless-stopped
|
|
labels:
|
|
- coolify.managed=true
|
|
- coolify.version=4.0.0-beta.434
|
|
- coolify.serviceId=15
|
|
- coolify.type=service
|
|
- coolify.name=pastefy-a0s8ow8sso8k4ok84kww0sw4
|
|
- coolify.resourceName=pastefy
|
|
- coolify.projectName=services
|
|
- coolify.serviceName=pastefy
|
|
- coolify.environmentName=production
|
|
- coolify.pullRequestId=0
|
|
- coolify.service.subId=20
|
|
- coolify.service.subType=application
|
|
- coolify.service.subName=pastefy
|
|
- traefik.enable=true
|
|
- traefik.http.middlewares.gzip.compress=true
|
|
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
|
|
- traefik.http.routers.http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.entryPoints=http
|
|
- traefik.http.routers.http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.middlewares=redirect-to-https
|
|
- 'traefik.http.routers.http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.rule=Host(`pastefy.site.quack-lab.dev`) && PathPrefix(`/`)'
|
|
- traefik.http.routers.http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.service=http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy
|
|
- traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.entryPoints=https
|
|
- traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.middlewares=gzip
|
|
- 'traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.rule=Host(`pastefy.site.quack-lab.dev`) && PathPrefix(`/`)'
|
|
- traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.service=https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy
|
|
- traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.tls.certresolver=letsencrypt
|
|
- traefik.http.routers.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.tls=true
|
|
- traefik.http.services.http-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.loadbalancer.server.port=80
|
|
- traefik.http.services.https-0-a0s8ow8sso8k4ok84kww0sw4-pastefy.loadbalancer.server.port=80
|
|
- 'caddy_0.encode=zstd gzip'
|
|
- 'caddy_0.handle_path.0_reverse_proxy={{upstreams 80}}'
|
|
- 'caddy_0.handle_path=/*'
|
|
- caddy_0.header=-Server
|
|
- 'caddy_0.try_files={path} /index.html /index.php'
|
|
- 'caddy_0=https://pastefy.site.quack-lab.dev'
|
|
- caddy_ingress_network=a0s8ow8sso8k4ok84kww0sw4
|
|
networks:
|
|
a0s8ow8sso8k4ok84kww0sw4: null
|
|
volumes: { }
|
|
networks:
|
|
a0s8ow8sso8k4ok84kww0sw4:
|
|
name: a0s8ow8sso8k4ok84kww0sw4
|
|
external: true
|
|
configs: { }
|
|
secrets: { }
|