Skip to content

Commit

Permalink
fix: docker image inconcistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasPeters committed Dec 3, 2024
1 parent da07a16 commit 678d13f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions ansible/roles/outline/templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
services:

outline:
container_name: outline
image: outlinewiki/outline:{{ outline_config.version }}
env_file: .env
restart: on-failure:3
network_mode: host # TODO replace this
restart: always
network_mode: host # TODO replace this once postgres has been dockerized
# ports:
# - "3000:4568"
healthcheck:
test: |
wget -qO- http://localhost:${PORT}/_health | grep -q OK \
Expand All @@ -16,7 +19,7 @@ services:
start_period: 30s
start_interval: 10s
volumes:
- storage-data:{{ outline_config.volume_path }}
- storage-data:/var/lib/outline/data
# depends_on:
# - postgres
# - redis
Expand Down
1 change: 0 additions & 1 deletion ansible/roles/outline/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
outline_config:
project_source: "/var/www/outline/outline"
version: "0.79.0" # Git tag
volume_path: "/var/www/outline/outline/volume"

0 comments on commit 678d13f

Please sign in to comment.