Created
February 17, 2020 13:46
-
-
Save remyd1/88243edcc69ddfb6affad83c37d3ea20 to your computer and use it in GitHub Desktop.
lemmy docker-compose bug
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
version: '3.3' | |
services: | |
lemmy_db: | |
image: postgres:12-alpine | |
environment: | |
- POSTGRES_USER=lemmy | |
- POSTGRES_PASSWORD=secret | |
- POSTGRES_DB=lemmy | |
volumes: | |
- lemmy_db:/var/lib/postgresql/data | |
restart: always | |
networks: | |
backend: | |
ipv4_address: 172.16.238.11 | |
lemmy: | |
image: dessalines/lemmy:v0.6.18 | |
ports: | |
- "127.0.0.1:8536:8536" | |
restart: always | |
volumes: | |
- ./lemmy.hjson:/config/config.hjson:ro | |
depends_on: | |
- lemmy_db | |
networks: | |
backend: | |
ipv4_address: 172.16.238.10 | |
frontend: | |
extra_hosts: | |
- "lemmy_db:172.16.238.11" | |
- "lemmy_pictshare:172.16.238.12" | |
lemmy_pictshare: | |
image: shtripok/pictshare:latest | |
ports: | |
- "127.0.0.1:8537:80" | |
volumes: | |
- lemmy_pictshare:/usr/share/nginx/html/data | |
restart: always | |
depends_on: | |
- lemmy_db | |
networks: | |
backend: | |
ipv4_address: 172.16.238.12 | |
frontend: | |
extra_hosts: | |
- "lemmy_db:172.16.238.11" | |
volumes: | |
lemmy_db: | |
lemmy_pictshare: | |
networks: | |
frontend: | |
backend: | |
ipam: | |
driver: default | |
config: | |
- subnet: "172.16.238.0/24" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment