2 Commits 2ea87bf7de ... ef4498beb3

Author SHA1 Message Date
  Coastas ef4498beb3 Rename src to empire 2 years ago
  Coastas 383ce88634 Rename src to empire 2 years ago
3 changed files with 7 additions and 5 deletions
  1. 1 1
      .gitignore
  2. 1 1
      README.md
  3. 5 3
      docker-compose.yml

+ 1 - 1
.gitignore

@@ -1,4 +1,4 @@
-src/
+empire/
 mysql/
 
 # macOS

+ 1 - 1
README.md

@@ -7,7 +7,7 @@ Docker Compose setup for local development of `empire`.
 
 ## Usage
 1. `git clone http://git.swc-empire.com/Coastas/empire-docker.git`
-2. `mkdir src && cd src`
+2. `cd empire-docker`
 3. `git clone http://git.swc-empire.com/empire/empire.git`
 4. `cd ..`
 5. `docker compose up -d`

+ 5 - 3
docker-compose.yml

@@ -7,7 +7,7 @@ services:
     ports:
       - "80:80"
     volumes:
-      - ./src:/var/www/html/
+      - ./empire:/var/www/html/
       - ./default.conf:/etc/nginx/conf.d/default.conf
     networks:
       - empire
@@ -19,7 +19,7 @@ services:
     build: ./php
     restart: always
     volumes:
-      - ./src:/var/www/html/
+      - ./empire:/var/www/html/
     networks:
       - empire
     depends_on:
@@ -31,9 +31,11 @@ services:
     platform: linux/x86_64
     command: --lower_case_table_names=1 --sql-mode=''
     restart: always
+    ports:
+      - "3306:3306"
     volumes:
       - "./mysql:/var/lib/mysql"
-      - "./src/application/db/migrations/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
+      - "./empire/application/db/migrations/setup.sql:/docker-entrypoint-initdb.d/setup.sql"
     networks:
       - empire
     environment: