-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #996 from Gauvino/docker-compose
Docker-compose: remove depracted line, watchtower and add container_name
- Loading branch information
Showing
1 changed file
with
4 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,15 @@ | ||
version: '3.3' | ||
services: | ||
openbullet2: | ||
image: 'openbullet/openbullet2:latest' | ||
container_name: openbullet2 | ||
restart: unless-stopped | ||
ports: | ||
- '8069:5000' | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
volumes: | ||
# Change UserData to the location of where you want UserData folder to be placed | ||
# This currently assumes your on linux and want the folder in the same location as the docker-compose file | ||
# You can set a windows dir like 'C:/OB2/UserData/:/app/UserData/' but it will always be 'local dir:docker dir' | ||
- './UserData:/app/UserData/' | ||
image: 'openbullet/openbullet2:latest' | ||
|
||
# Watchtower will auto update OB2 for you when it sees a new release | ||
watchtower: | ||
image: containrrr/watchtower | ||
restart: always | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- /etc/timezone:/etc/timezone:ro | ||
environment: | ||
- WATCHTOWER_CLEANUP=true | ||
- WATCHTOWER_LABEL_ENABLE=true | ||
- WATCHTOWER_INCLUDE_RESTARTING=true | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
ports: | ||
- '8069:5000' | ||
|
||
volumes: | ||
UserData: |