Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/docker/docker-compose.yml
blob: f799bd69965af46aa9b65a8741b79cfe0116b6cc (plain)
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
version: "3.3"

volumes:
  db-socket:
  db-data:

services:
  app:
    build: php
    working_dir: /app
    command: php -S 0.0.0.0:${PORT:-8080} -t /app
    user: http
    ports:
      - "${PORT:-8080}:${PORT:-8080}"
    volumes:
      - ../:/app
      - db-socket:/run/mysqld
    tmpfs:
      - /app/cache
    depends_on:
      - db

  db:
    build: mariadb
    command: mysqld
    user: mysql
    network_mode: none
    volumes:
      - db-data:/var/lib/mysql
      - db-socket:/run/mysqld