diff --git a/docker-compose.yml b/docker-compose.yml index 3c3e8e0..1d606fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,11 +6,14 @@ services: build: context: . environment: + WEB_PORT: 3100 DB_HOSTNAME: database DB_DATABASE: news DB_USERNAME: news DB_PASSWORD: charizard DB_TIMEZONE: Australia/Sydney + QUERY_LIMIT: 10 + QUERY_KEY: key networks: - app-network ports: diff --git a/sql/create_database.sql b/sql/create_database.sql deleted file mode 100644 index 736e5c2..0000000 --- a/sql/create_database.sql +++ /dev/null @@ -1,9 +0,0 @@ -#This file only needs to be run once, during initial setup - -#Create the actual database -CREATE DATABASE IF NOT EXISTS news; -USE news; - -#Create the database user -CREATE USER IF NOT EXISTS 'news'@'%' IDENTIFIED BY 'charizard'; -GRANT ALL PRIVILEGES ON news.* TO 'news'@'%'; \ No newline at end of file