File: docker-compose.yaml

package info (click to toggle)
zoph 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,632 kB
  • sloc: php: 28,044; javascript: 10,435; sql: 527; sh: 153; makefile: 4
file content (38 lines) | stat: -rw-r--r-- 750 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
  db:
    image: mariadb:11.4
    hostname: db
    container_name: db
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: zoph
      MYSQL_USER: zoph
      MYSQL_PASSWORD: zoph
    volumes:
      - /data/mysql:/var/lib/mysql
    networks:
      - net
 
  zoph:
    image: zophproject/zoph:stable
    container_name: zoph
    restart: unless-stopped
    environment:
      TZ: "Europe/Amsterdam"
      DB_NAME: zoph
      DB_HOST: db
      DB_USER: zoph
      DB_PASS: zoph
    volumes:
      - /data/images:/data/images
    ports:
      - "8080:80" # You can change the ports based on the service requirements
    depends_on:
      - db
    networks:
      - net
 
networks:
  net:
    driver: bridge