2022-02-10 14:47:44 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
coolify:
|
2022-02-11 10:46:47 +00:00
|
|
|
image: coollabsio/coolify:${TAG:-latest}
|
2022-02-10 14:47:44 +00:00
|
|
|
restart: always
|
|
|
|
container_name: coolify
|
|
|
|
ports:
|
|
|
|
- target: 3000
|
|
|
|
published: 3000
|
|
|
|
protocol: tcp
|
|
|
|
mode: host
|
|
|
|
volumes:
|
|
|
|
- 'coolify-db:/app/db'
|
|
|
|
- 'coolify-ssl-certs:/app/ssl'
|
|
|
|
- 'coolify-letsencrypt:/etc/letsencrypt'
|
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
|
|
|
env_file:
|
|
|
|
- '.env'
|
|
|
|
networks:
|
|
|
|
- coolify-infra
|
|
|
|
depends_on: ['redis']
|
|
|
|
redis:
|
|
|
|
image: bitnami/redis:6.2
|
|
|
|
restart: always
|
|
|
|
container_name: coolify-redis
|
|
|
|
environment:
|
|
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
|
|
networks:
|
|
|
|
- coolify-infra
|
|
|
|
|
|
|
|
networks:
|
|
|
|
coolify-infra:
|
|
|
|
attachable: true
|
|
|
|
name: coolify-infra
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
coolify-db:
|
|
|
|
name: coolify-db
|
|
|
|
coolify-ssl-certs:
|
|
|
|
name: coolify-ssl-certs
|
|
|
|
coolify-letsencrypt:
|
|
|
|
name: coolify-letsencrypt
|