File: docker-compose.yml

package info (click to toggle)
php-laravel-framework 11.44.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 22,184 kB
  • sloc: php: 265,914; sh: 167; javascript: 51; makefile: 46
file content (79 lines) | stat: -rw-r--r-- 2,123 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3'
services:
  dynamodb:
    image: amazon/dynamodb-local:2.0.0
    ports:
      - "8000:8000"
    command: ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-inMemory"]
  memcached:
    image: memcached:1.6-alpine
    ports:
      - "11211:11211"
    restart: always
  mysql:
    image: mysql/mysql-server:5.7
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: 1
      MYSQL_ROOT_PASSWORD: ""
      MYSQL_DATABASE: "forge"
      MYSQL_ROOT_HOST: "%"
    ports:
      - "3306:3306"
    restart: always
  # postgres:
  #   image: postgres:15
  #   environment:
  #     POSTGRES_PASSWORD: "secret"
  #     POSTGRES_DB: "forge"
  #   ports:
  #     - "5432:5432"
  #   restart: always
  # mariadb:
  #   image: mariadb:11
  #   environment:
  #     MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: "yes"
  #     MARIADB_ROOT_PASSWORD: ""
  #     MARIADB_DATABASE: "forge"
  #     MARIADB_ROOT_HOST: "%"
  #   ports:
  #     - "3306:3306"
  #   restart: always
  # mssql:
  #   image: mcr.microsoft.com/mssql/server:2019-latest
  #   environment:
  #     ACCEPT_EULA: "Y"
  #     SA_PASSWORD: "Forge123"
  #   ports:
  #     - "1433:1433"
  #   restart: always
  redis:
    image: redis:7.0-alpine
    ports:
      - "6379:6379"
    restart: always
  # redis-cluster-0:
  #   image: redis:7.0-alpine
  #   ports:
  #     - "7000:7000"
  #   restart: always
  #   command: redis-server --port 7000 --appendonly yes --cluster-enabled yes
  # redis-cluster-1:
  #   image: redis:7.0-alpine
  #   ports:
  #     - "7001:7001"
  #   restart: always
  #   command: redis-server --port 7001 --appendonly yes --cluster-enabled yes
  # redis-cluster-2:
  #   image: redis:7.0-alpine
  #   ports:
  #     - "7002:7002"
  #   restart: always
  #   command: redis-server --port 7002 --appendonly yes --cluster-enabled yes
  # redis-cluster-creator:
  #   image: redis:7.0-alpine
  #   depends_on:
  #     - redis-cluster-0
  #     - redis-cluster-1
  #     - redis-cluster-2
  #   command: sh -c 'redis-cli --cluster create redis-cluster-0:7000 redis-cluster-1:7001 redis-cluster-2:7002 --cluster-replicas 0 --cluster-yes || true'
  #   restart: no