2023-09-02 18:09:06 +02:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
2024-01-03 11:38:09 +01:00
|
|
|
|
|
|
|
{% include 'templates/docker-service-redis.yml.j2' %}
|
|
|
|
|
2024-01-03 15:46:28 +01:00
|
|
|
{% include 'templates/docker-service-' + database_type + '.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-06 12:10:16 +01:00
|
|
|
application:
|
2023-09-02 18:09:06 +02:00
|
|
|
image: baserow/baserow:1.19.1
|
2024-01-06 12:10:16 +01:00
|
|
|
container_name: baserow-application
|
2023-09-02 18:09:06 +02:00
|
|
|
restart: always
|
|
|
|
logging:
|
|
|
|
driver: journald
|
|
|
|
env_file:
|
|
|
|
- ./env
|
|
|
|
volumes:
|
2023-12-30 16:49:37 +01:00
|
|
|
- data:/baserow/data
|
2023-09-02 18:09:06 +02:00
|
|
|
ports:
|
|
|
|
- "{{http_port}}:80"
|
2024-01-06 14:59:09 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:80/"]
|
|
|
|
interval: 1m
|
|
|
|
timeout: 10s
|
|
|
|
retries: 3
|
2024-01-02 21:39:17 +01:00
|
|
|
{% include 'templates/docker-container-networks.yml.j2' %}
|
2024-01-06 12:10:16 +01:00
|
|
|
{% include 'templates/docker-container-depends-on-database-redis.yml.j2' %}
|
2024-01-02 21:13:34 +01:00
|
|
|
|
2024-01-02 21:39:17 +01:00
|
|
|
{% include 'templates/docker-compose-volumes.yml.j2' %}
|
2024-01-02 21:13:34 +01:00
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
|
2024-01-02 21:39:17 +01:00
|
|
|
{% include 'templates/docker-compose-networks.yml.j2' %}
|