You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker has deprecated "links" on compose. I added depends_on and declared the creation of a shiori network in my version of the compose file, which worked for me. I also declared the image to pull the image directly from github rather than manually pulling it then building it. Here it is:
Docker has deprecated "links" on compose. I added depends_on and declared the creation of a shiori network in my version of the compose file, which worked for me. I also declared the image to pull the image directly from github rather than manually pulling it then building it. Here it is:
Docker compose for development purposes only.
Edit it to fit your current development needs.
version: "3"
services:
shiori:
image: ghcr.io/go-shiori/shiori
container_name: shiori
ports:
- "93:8080"
volumes:
- "./dev-data:/srv/shiori"
- ".:/src/shiori"
restart: unless-stopped
depends_on:
- "postgres"
- "mariadb"
environment:
SHIORI_DIR: /srv/shiori
#SHIORI_DATABASE_URL: mysql://shiori:shiori@(mariadb)/shiori?charset=utf8mb4
SHIORI_DATABASE_URL: postgres://shiori:shiori@postgres/shiori?sslmode=disable
networks:
shiori:
postgres:
image: postgres:15
environment:
POSTGRES_PASSWORD: shiori
POSTGRES_USER: shiori
ports:
- 5432
networks:
shiori:
mariadb:
image: mariadb:11
environment:
MYSQL_ROOT_PASSWORD: toor
MYSQL_DATABASE: shiori
MYSQL_USER: shiori
MYSQL_PASSWORD: shiori
ports:
- 3306
networks:
shiori:
networks:
shiori:
The text was updated successfully, but these errors were encountered: